package com.chatplus.application.domain.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;

/**
 * 自定义分页请求参数
 *
 * @author chj
 * @date 2024/1/9
 **/
public class PlusPageRequest implements Serializable {
    /**
     * page : 1
     * page_size : 10
     */

    @JsonProperty("page")
    private int page;
    @JsonProperty("page_size")
    private int pageSize;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
